<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FDTab test</title>
<style type="text/css">
body{font-size: 12px;}
</style>
<!-- css -->
<link id="fd_theme" href="../../styles/theme/aristo/theme.css" rel="stylesheet" type="text/css" />
<link href="../../styles/primeui-1.1-min.css" rel="stylesheet" type="text/css" />
<!-- lib -->
<script type="text/javascript" src="../../src/FDLib/FDLib.js"></script>
<script type="text/javascript" src="../../src/JsMap.js"></script>
<!-- app js -->
<script type="text/javascript" src="../theme.js"></script>
</head>
<body>

<!-- tab定位在这里 -->
<div id="tab1"></div>
<br>
<br>
<div id="tab2"></div>

<script type="text/javascript">
FDLib.setDir('../../src/');
var tab1;
FDLib.loadJs('FDTab',function() {
	var en = 'After viewing the metamorphosis at sunrise, '
		+ 'I would walk downhill along the steep mountain-path, '
		+ 'towards the rocky beach, for a brief swim. Each time, '
		+ 'I noticed a flurry of activity in a distant compound with a single decrepit building.';
	
	var zh = '在观看了日出时奇妙的变化以后，我会沿着陡峭的山路下行，走到一个遍布岩石的海滩，游一会儿泳。'
	
	tab1 = new FDTab({
		domId:'tab1'
		,items:[
			{text:'英文',value:1,content:en}
			,{text:'中文',value:2,content:zh}
		]
	});
});
</script>
</body>
</html>